package com.example.project1;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;

public class JumpToPage extends AppCompatActivity {

    ImageView imageView;
    TextView textView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_jump_to_page);

        imageView = findViewById(R.id.img);
        textView = findViewById(R.id.show_test);

        Intent intent = getIntent();
        String msg = intent.getStringExtra(MainActivity.MSG_TYPE);
        textView.setText(msg);
    }
}